#include <stdio.h>

int sign( int x );

int main()
{
    int x;

    scanf("%d", &x);
    printf("sign(%d) = %d\n", x, sign(x));

    return 0;
}
int sign( int x )
{
	double sign;
	if(x>0){
		sign=1;
	}
	else if(x==0){
		sign=0;
	}
	else {
		sign=-1;
	} 
	return sign;
}
